Previous Section   Next Section

4.3 Preparing to deliver the application

4.3.1 Requirements: functional or non-functional?

In typical application development projects, more than 70% of the effort is spent on designing and building generic functions and on satisfying the non-functional requirements (see Section 5.2 for a more detailed discussion on the distinction between functional and non-functional requirements). That is because each individual application needs to provide a solution for such generic features as printing, error handling, and security. The result is that application developers keep doing the same work over and over to meet the needs of non-functional requirements. The more important implication is that developers are spending only 30% of their effort in the analysis, designing, and building of the functional requirements.

Among others, the Object Management Group (OMG, www.omg.com) defined a large number of services that are needed in every application. OMG’s object management architecture (OMA) clearly distinguishes between functional and non-functional aspects of an application. It builds on the concept of providing a run time environment that offers all sorts of services to an application.

In this concept, the application covers the functional aspects and the environment covers all non-functional aspects. Application developers should, by definition, focus on the functional aspects of an application, while others can focus on the creation of the environment that provides the necessary non-functional services. This means that the application developers focus on the requirements of the business, while the architecture developers or application framework developers focus on the requirements of the application developers.

4.3.2 Architecture, application frameworks and standards

‘Architecture is often among the first victims felled by today’s time-boxed software projects, short release cycles, and rapid application development. There seems to be no time to think through the consequences of architectural decisions.’ (Larry Constantine)

Constantine’s observation is valid, and offers the solution for the identified problem in the same quote. Architecture-related activities have to be planned and managed separately from software projects. It is also important that architecture-related activities be performed for the benefit of more than just one application. As pointed out in Paragraph 4.3.1 application developers should focus on a single application, while application framework developers should focus on more than one application, and on the common features of those applications, in particular.

The concept of an application framework is a very powerful one. The application framework covers all non-functional aspects and actually provides solutions for all the non-functional requirements that surround an application (see Figure 4.4). The application framework developers should carefully analyse the needs of the application developers and develop application frameworks that address those needs.

A common practice is to distinguish between various types of applications. For instance, not every application can be built on top of a Microsoft ® Windows 2000 platform, connected to a UNIX server, using HTML, Java applets, JavaBeans and a relational database. The various types of applications can be regarded as application families. All applications in the same family are based on the same application framework. And, consequently, every application family has a corresponding application framework.

Figure 4.4 - The application framework

Figure 4.4 – The application framework
Click here to view a larger version in a new browser window.

Utilising the concept of an application framework, the first step of the application design phase is to identify the appropriate application framework. If the application framework is mature, a large number of the design decisions are given. If it is not mature, and all non-functional requirements cannot be met on top of an existing application framework, two strategies can be followed.

The first strategy is to collect and analyse the requirements that cannot be dealt with in the current version of the application framework. Based on the application requirements, new requirements can be defined for the application framework. Next, the application framework can be modified so that it can cope with the application requirements. In fact, the whole family of applications that corresponds to the application framework can then use the newly added or changed framework features.

Developing and maintaining an application framework is a complex task, and can be performed by only the most skilled designers in a company. Alternatively, application frameworks can be acquired from third parties. Experience, however, shows that the effort required to tailor such a framework to the company’s specific needs is significant and time-consuming. Maintaining the acquired framework, again, demands highly skilled professionals.

The second strategy is to feed the requirements phase with the restrictions imposed by the application framework. Practice shows that it is both feasible and highly beneficial to influence and lead the requirements when they are specified.

Example

A staffing agency specified the requirements for a new information system supporting the agents. The User interface requirements had been developed in cooperation with a specialised interaction design bureau. The look-and-feel requirements were powerful and heavily supported by the responsible business units. The development organisation decided to define and build an application framework capable of fulfilling these User interface requirements. In fact, the application framework developers developed a User interface kit that could be used by the application developers to create the User interface required. The next Release of the same application, however, started with a requirements phase in which a different view on the nature of the User interface was introduced. Implementing the new view alongside the original view required a compromise that would seriously impact on the quality of the system. The decision was made by the IT organisation to challenge the new User interface requirements and to adjust them in the direction of the original requirements and the corresponding User interface kit. At the end of the discussion only a few modifications to the User interface kit were needed, and the User interface of the application was still regarded as innovative and attractive.

Implied in the use of application frameworks is the concept of standardisation. If an organisation uses and has to maintain an application framework for every single application, there will not be many benefits of the use of an application framework. The benefits will be significantly higher when the number of applications outnumbers the number of application frameworks. In terms of the concept of application families, an organisation should aim for a few large families of application frameworks. Aiming for large families ensures that a large number of applications will reuse the same components to implement the non-functional requirements of the applications. Aiming for a few families makes it easier for an organisation to develop and maintain them.

The best approach is for an organisation to standardise on a small number of application frameworks, and ensure that new applications are specified, designed, and built in line with those frameworks.

That, of course, means that an organisation that wants to develop and maintain application frameworks, and to ensure the application frameworks comply with the needs of the application developers, must invest in doing so.

4.3.3 Design patterns

The introduction of the new concept of design patterns gave a boost to an organisation’s ability to document application frameworks. Design patterns describe both a problem and a solution for common issues encountered during application development. The power of the patterns lies in the fact that the problems they cover are common, while the solutions, on the other hand, leave enough alternatives and room for discussion to significantly improve the knowledge about the problems addressed. In fact, a well-documented design pattern consistently promotes the use of just a small number of design principles.

An important design principle used as the basis for a large number of the design patterns found in recent literature (e.g. Design patterns, elements ofreusable object-oriented software by Gamma, Helm, Johnson and Vlissides) is that of separation of concern. Separation of concerns will lead to applications divided into components with a strong cohesion and minimal coupling between components. The advantage of such an application is that modification can be made to individual components with little or no impact on other components.

Previous Section   Next Section


This is a Value Added product which falls outside the scope of the HMSO Core Licence.